<html
        xmlns="http://www.w3.org/1999/xhtml"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:composite="http://java.sun.com/jsf/composite"
        xmlns:cc="http://java.sun.com/jsf/composite/cc"
        xmlns:p="http://primefaces.org/ui"
        xmlns:f="http://java.sun.com/jsf/core">

<!-- INTERFACE -->
<composite:interface>
	<composite:attribute name="text" required="true" shortDescription="The text to displayin the warning panel"/>
	<composite:attribute name="action" required="false" default="" shortDescription="The command link action"/>
	<composite:attribute name="actionLabel" required="false" shortDescription="The command link action value"/>
</composite:interface>

<!-- IMPLEMENATION -->
<composite:implementation>
	<p:panel header="#{msgs['dialog.warning']}">
	    <h:panelGrid id="lfp1" columns="2" >
	    	<p:graphicImage value="#{requestPath}/resources/images/error.png"/>
	        <h:outputText value="#{cc.attrs.text}" />
            <h:commandLink action="setup" value="link"  />
	    </h:panelGrid>
    </p:panel>
</composite:implementation>
</html>